package com.genius.system.pojo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.genius.core.BaseEntity;
import lombok.Data;

/**
 * sys_notice_user
 * @author geniusk
 */
@Data
public class NoticeUser extends BaseEntity {

    /**
     * 消息用户ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long noticeUserId;

    /**
     * 消息ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long noticeId;

    /**
     * 用户ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /**
     * 消息状态（0待阅 1已阅 2撤回）
     */
    private String status;

    private static final long serialVersionUID = 1L;
}